package edu.sctu.zhangwang.month201506.day20150626;


import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

/**
 * Created by Administrator on 2015/6/26.
 */
public class Json_util {
    UserZw userZw = new UserZw();
    public void util(){
        userZw.setName("雯");
        userZw.setSex("女");
        userZw.setId(2);
        userZw.setPsw("56678");
    }

    public static void main(String[] args) {
        String str = "{\\\"response\\\":{\\\"json_data\\\":[{\\\"address\\\":\\\"南京市游乐园\\\",\\\"province\\\":\\\"江苏\\\",\\\"district\\\":\\\"玄武区\\\",\\\"city\\\":\\\"南京\\\"}]},\\\"status\\\":\\\"ok\\\"}";
        JSONObject jsonObject = new JSONObject();
//         = JSONObject.parseObject(str,);
    }
}
//"{\"response\":{\"json_data\":[{\"address\":\"南京市游乐园\",\"province\":\"江苏\",\"district\":\"玄武区\",\"city\":\"南京\"}]},\"status\":\"ok\"}"